Decoding to another class in do-try-catch produces compile error

visit shbcf.ru